﻿using Inovout.RedictUrls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Inovout.RedictUrls
{
    //接口
    public interface IRedictUrlService
    {
        void Save(RedirctUrl entity);
        string SendMail(string mailPlate, Dictionary<string, string> contents,string subject);
        RedirctUrl FindByActionUrl(string actionUrl);
        RedirctUrl FindByOrginalUrlByEamil(string email);

        RedirctUrl FindByOrginalUrlByMembershipUserId(int id);
    }
}
